package com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request;

import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

/**
 * Created by wangxu13798 on 2016/7/26.
 */
public class MassMessageForm extends HSBCPSVO {
    private static final long serialVersionUID = 1L;

    @NotBlank
    @Length(max = 255)
    private String title;

    @NotBlank
    @Length(max = 2000)
    private String description;

    @NotBlank
    @Length(max = 255)
    private String url;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MassMessageForm{");
        sb.append("title='").append(title).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", url='").append(url).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
